<?Lassoscript
// Last modified 2/11/11 by ECL, Landmann InterActive

// CHANGE NOTES
// 2/11/11
// Major refactoring

// PassThru Username and Password
// NOTE: Might need to be changed depending upon site
Var('svPassThruUsername' = 'upload_user');
Var('svPassThruPassword' = 'upload');

// Used to determine if we want to archive the original upload file
// If so, files are renamed and moved to that path
Var('svArchiveOriginalUpload' = true);

// Filetype arrays
// svDocExtArray contains a list of all allowed file extensions
// ImageExtArray contains a list of all allowed image extensions
// svMediaExtArray contains a list of all allowed media extensions
// svCSSIgnoreArray contains a list of stylesheets to not display in admin so the user can't select them
Var('svDocExtArray' = (array('csv', 'doc', 'graffle', 'gz', 'indd', 'log', 'odp', 'ods', 'odt', 'pdf', 'pps', 'ppt', 'qxd', 'sit', 'sitx', 'svg', 'swf', 'txt', 'xls', 'zip')));
Var('svImageExtArray' = (array('jpg', 'jpeg', 'gif', 'tif', 'tiff', 'png', 'psd')));
Var('svMediaExtArray' = (array('avi', 'flv', 'm4v', 'mov', 'mp4', 'mpg', 'mpeg', 'swf', 'wmv')));
Var('svCSSIgnoreArray' = (array('1kbgrid.css', 'admin.css', 'datePicker.css', 'devel.css', 'gallery.css', 'jquery.cluetip.css', 'jqueryslidemenu.css',  'jqueryslidemenu2.css', 'media.css', 'niftyCorners.css', 'niftyPrint.css', 'sudoslider.css', 'sudosliderNew.css', 'thickbox.css')));

// Image sizes
Var('svImageLargeWidth' = 960);
Var('svImageLargeHeight' = 960);
Var('svImageMediumWidth' = 500);
Var('svImageMediumHeight' = 500);
Var('svImageThumbWidth' = 110);
Var('svImageThumbHeight' = 110);

// EasyThumb Preview for Templates
Var('svEasyThumbUserID' = '6291');
Var('svEasyThumbAPIKey' = '996b8bcb6c76d63a027fba7ca867478c');


// Modify Media Array depending upon which utilities are installed
// If ffmpeg is not installed, remove all dependent extensions
If($svPathToffmpeg == '');
	$svMediaExtArray->(RemoveAll('avi'));
	$svMediaExtArray->(RemoveAll('m4v'));
	$svMediaExtArray->(RemoveAll('mov'));
	$svMediaExtArray->(RemoveAll('mp4'));
	$svMediaExtArray->(RemoveAll('mpg'));
	$svMediaExtArray->(RemoveAll('mpeg'));
	$svMediaExtArray->(RemoveAll('wmv'));
/If;
// If swftools is not installed, remove all dependent extensions
If($svPathToswftools == '');
	$svMediaExtArray->(RemoveAll('flv'));
	$svMediaExtArray->(RemoveAll('swf'));
/If;

?>